#ifndef SCREENMANAGER_H
#define SCREENMANAGER_H

#include <qglobal.h>

class ScreenManager
{
public:
    /**
     * @brief startSysDesktop 启动系统桌面
     * @return 命令执行结果
     */
    static bool startSysDesktop();

    /**
     * @brief blockSysDesktop 不启动系统桌面
     * @return 命令执行结果
     */
    static bool blockSysDesktop();

    /**
     * @brief blockHibernate 阻止休眠
     * @return 命令执行结果
     */
    static bool blockHibernate();

private:
    ScreenManager();
    Q_DISABLE_COPY(ScreenManager)
};

#endif // SCREENMANAGER_H
